﻿

using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotContract.Models.Clients;
/// <summary>
/// 客户请求命令
/// </summary>
[ProtoContract]
public class ClientRequestCommand : IClientCommand
{
    [ProtoMember(1)]
    public string Id { get; set; }
    /// <summary>
    /// 程序Id
    /// </summary>
    [ProtoMember(2)]
    public long ProgramId { get; set; }
    /// <summary>
    /// 设备Id
    /// </summary>
    [ProtoMember(3)]
    public long EquipId { get; set; }
    /// <summary>
    /// 请求类型 1 获取设备数据 other 设备类型
    /// </summary>
    [ProtoMember(4)]
    public string RequestType { get; set; } = "1";
    /// <summary>
    /// 协议类型
    /// </summary>
    [ProtoMember(5)]
    public string ProtobufType { get; set; }

}
